<#macro header headertitle=''>
<div id="header">
    <div class="bar bar-nav bar-nav-inverse">
        <div class="dropdown pull-left">
            <a class="btn btn-link dropdown-toggle pull-left" data-toggle="dropdown">
                菜单
            </a>
            <ul class="dropdown-menu pull-left">
                <li><a tabindex="-1" href="">首页</a></li>
                <li><a tabindex="-1" href="">比赛</a></li>
                <li><a tabindex="-1" href="">新闻</a></li>
                <li><a tabindex="-1" href="">评论</a></li>
                <li><a tabindex="-1" href="">照片</a></li>
                <li><a tabindex="-1" href="">集势</a></li>
            </ul>
        </div>

        <a href="${basepath}/login/index.do"
            class="btn btn-link pull-right" tabindex="-1">
            登录
        </a>

        <div class="container">
            <h1 class="title">
                <a href="${basepath}/" tabindex="-1">
                ${headertitle}                </a>
            </h1>
        </div>
    </div>
</div>
</#macro>